home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / MacTechNotes / Technical Notes Stack / Tech Note PICTs.sea / Tech Note 256 - Figure 3 (.png) < prev    next >
MacDraw  |  1991-09-13  |  6.1 KB  |  816x1056  |  1-bit (1 colors)  |  [PICT/MDPL]
   ocr: h=? h h h paramBlock paramBlock paramBlock paramBlock stack stack stack stack ptr to pb ptr to pb copy ofl h return address Application Application Application Application CODE CODE CODE CODE XCMD XCMD XCMD master ptr master ptr master ptr Initial State with GetiNamedResource loads CallXCMD pushes some Glue code removes handle paramBlock and h as XCMD' resource into stuff on the stack for the from stack and does JSR to global variables application heap glue code address in master pointer Figure 3-Calling an 'XCMD' from Pascal